/*
 * Session.h
 *
 *  Created on: 11.12.2011
 *      Author: serafim
 */


#ifndef SESSION_H_
#define SESSION_H_
#include <vector>
#include "DataParser.h"
#include "DataObject.h"

using std::string;
using std::cin;
using std::cout;
using std::endl;
using std::vector;

class Session{
public:
	Session(string key, int num);
	~Session();
	void parseTag();
	void saveResults();
private:
	DataParser _parser;
	string _keyword;
	unsigned int _number;

	vector<string*> _urls;
	vector<DataObject*> _objects;
};

#endif /* SESSION_H_ */
